//
//  EmployeeItemContentView.swift
//  PropertyCommunity
//
//  Created by benwang on 2021/7/4.
//

import UIKit

class EmployeeItemContentView: UIView {
  @IBOutlet weak var apartmentLabel: UILabel!
  @IBOutlet weak var positionLabel: UILabel!
  @IBOutlet weak var nameLabel: UILabel!

  var model: EmployeeInformationModel? {
    didSet {
      apartmentLabel.text = model?.apartment
      positionLabel.text = model?.position
      nameLabel.text = model?.name
    }
  }

    /*
    // Only override draw() if you perform custom drawing.
    // An empty implementation adversely affects performance during animation.
    override func draw(_ rect: CGRect) {
        // Drawing code
    }
    */

}
